'''
Created on 2011-1-31

@author: siqi
'''
import os,string
from Configuration import Configuration

Configuration = Configuration()
for expName in ["1a3"]:
    path = Configuration.getAutoSavePath(expName)
    os.mkdir(path)
    orignPath = Configuration.getPath()
    for filename in os.listdir(orignPath):
        if filename.find(expName) >=0 and filename.endswith("sav"):
            os.system("mv " + os.path.join(orignPath, filename) + " " + os.path.join(path, filename))
            